<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>管理员登录 {{if get_config('seotitletype') eq '1' }}
            {{$title}} {{get_config('keywords')}}
            {{elseif get_config('seotitletype') eq '2'}}
            {{$title}} {{get_config('webname')}}
            {{elseif get_config('seotitletype') eq '3'}}
            {{$title}} {{get_config('keywords')}} {{get_config('webname')}}
            {{else}}
            {{$title}}
            {{/if}}</title>
        <link rel="stylesheet" href="{{STATIC_URL}}/admin/login.css" />
        <meta name="keywords" content="{{$title}} {{get_config('keywords')}}" />
        <meta name="description" content="{{$title}} {{get_config('description')}}" />
        <link rel="shortcut icon" href="/favicon.ico">
        <link rel="apple-touch-icon" href="/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
         <!-- 不是IE就用v2.1.3，IE8以上也用v2.1.3，IE8及以下用1.11版本-->
        <!--[if !IE]> -->
        <script src="{{STATIC_URL}}/plugins/jquery/jquery.min.js"></script>
        <!-- <![endif]-->
        <!--[if lte IE 8]>
           <script type="text/javascript" src="{{STATIC_URL}}/plugins/html5.js"></script>
           <script type="text/javascript" src="{{STATIC_URL}}/plugins/respond.min.js"></script>
           <script type="text/javascript" src="{{STATIC_URL}}/plugins/PIE_IE678.js"></script>
           <script src="{{STATIC_URL}}/plugins/jquery/jquery.min.ie8.js"></script>
        <![endif]-->
        <!--[if gt IE 8]>
          <script src="{{STATIC_URL}}/plugins/jquery/jquery.min.js"></script>
       <![endif]-->
        <!--[if IE 6]>
            <script type="text/javascript" src="{{STATIC_URL}}/plugins//DD_belatedPNG_0.0.8a-min.js" ></script>
            <script>DD_belatedPNG.fix('*');</script>
        <![endif]-->
        <link href="{{STATIC_URL}}/plugins/validform/validform.css?v{{random(4)}}" rel="stylesheet">
        <script src="{{STATIC_URL}}/plugins/validform/validform.js?v{{random(4)}}"></script>
        <script src="{{STATIC_URL}}/plugins/validform/Validform_Datatype.js?v{{random(4)}}"></script>
        <script type="text/javascript">
            $(function () {
                $(".demoform").Validform({tiptype: 1, showAllError: false});
            });
        </script>
    </head>
    <body>
        <div class="loginwarrp">
            <div class="logo">管理员登录</div>
            <div class="login_form">
                <form class="demoform" method="post" action="{{url('admin/login/index')}}" method="post" role="form" autocomplete="off">
                    <ul>
                        <li class="login_item">
                            <input type="text" name="username" class="login_input"  
                             datatype="*" nullmsg="请输入用户名" errormsg="请输入用户名"  placeholder="请输入用户名" autocomplete="off"/>
                            <span>用户名：</span>
                        </li>
                        <li class="login_item">
                            <input type="password" name="password" class="login_input" 
                              datatype="*" nullmsg="请输入密码"  errormsg="请输入密码"  placeholder="请输入密码" autocomplete="off"/>
                            <span>密　码：</span>
                        </li>
                        <li class="login_item">
                            <img src="/admin/login/code" border="0" class="verifyimg" onclick="this.src = this.src + '?'" alt="验证码"/>
                            <input type="text" name="code" class="login_input verify_input" value="{{$code}}" 
                              datatype="*4-4" nullmsg="请填写验证码" errormsg="请填写4位验证码"  placeholder="请填写4位验证码" autocomplete="off"/>
                            <span>验证码：</span>
                        </li>
                        <li class="login-sub">
                            <input type="submit" name="dosubmit" value="登　录" />
                        </li>
                    </ul>
                </form>
            </div>
        </div>
        <div class="footer"><p>{{get_config('copyright')}}</p></div>
    </body>
</html>